ioemu: cleaning DisplayState->dpy_resize interface
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:39:15 +0000 (09:39 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Jun 2008 08:39:15 +0000 (09:39 +0100)
commit1f52665996d7c13f1f316077a0e694dff3bd333e
tree25d5832f3f0a2d5c20803e663ad07b438e23405e
parenta7cd0e3f9160308f27f95c12826e56465fa8a9fe
ioemu: cleaning DisplayState->dpy_resize interface

Bring the DisplayState dpy_resize interface back to how it is in qemu
mainstream, thus making the code easier to merge.
In order to support sharing the framebuffer, I am adding a new resize
interface called dpy_resize_shared that also has a depth and a pixels
parameters. As a consequence I could remove the dpy_colourdepth
callback and make the code cleaner and easier to read.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/ioemu/cocoa.m
tools/ioemu/hw/pl110.c
tools/ioemu/hw/tcx.c
tools/ioemu/hw/vga.c
tools/ioemu/hw/xenfb.c
tools/ioemu/sdl.c
tools/ioemu/vl.c
tools/ioemu/vl.h
tools/ioemu/vnc.c